<?php
header('Access-Control-Allow-Origin:*');
// 定义项目路径
define('APP_PATH', __DIR__ . '/application/');
define('NOW_TIME',$_SERVER['REQUEST_TIME']);
defined('UPLOAD_PATH') or define('UPLOAD_PATH','public/upload/'); // 编辑器图片上传路径
// 加载框架引导文件
require __DIR__.'/thinkphp/start.php';
?>